package com.ldcc.report_system.api.results;

import java.math.BigDecimal;

/**
 * @author wwj[yeshengkele@outlook.com]
 * @description 用户返回信息
 */
public class User {
    /// 用户id
    private String id;
    // 用户姓名
    private String name;
    // 登录标识
    private String username;
    //是否可审批(0-否,1-是)
    private String auditSign;
    // 部门ID
    private String deptId;
    // 部门名称
    private String deptName;
    //密码")
    private String password;
    //邮箱")
    private String email;
    //手机")
    private String mobile;
    //性别(0:男,1:女)")
    private Integer gender;
    //头像")
    private String avatar;
    //锁定状态(0:正常,1:锁定)")
    private Integer lockFlag;
    //角色所属(0:后台角色,1:前台角色)")
    private Integer roleBelong;
    //参加工作时间")
    private String workTime;
    //职务")
    private String duty;
    //岗位标识(0-员工,1-部长,2-领导)")
    private String dutySign;
    //手机识别码")
    private String mobileCode;
    //原码")
    private String psd;
    //已得分")
    private Integer hasScore;
    //评分")
    private BigDecimal score;


    public User() {

    }

    public User(String id,
                String name,
                String username,
                String auditSign,
                String deptId,
                String deptName,
                String password,
                String email,
                String mobile,
                Integer gender,
                String avatar,
                Integer lockFlag,
                Integer roleBelong,
                String workTime,
                String duty,
                String dutySign,
                String mobileCode,
                String psd,
                Integer hasScore,
                BigDecimal score) {
        this.id = id;
        this.name = name;
        this.username = username;
        this.auditSign = auditSign;
        this.deptId = deptId;
        this.deptName = deptName;
        this.password = password;
        this.email = email;
        this.mobile = mobile;
        this.gender = gender;
        this.avatar = avatar;
        this.lockFlag = lockFlag;
        this.roleBelong = roleBelong;
        this.workTime = workTime;
        this.duty = duty;
        this.dutySign = dutySign;
        this.mobileCode = mobileCode;
        this.psd = psd;
        this.hasScore = hasScore;
        this.score = score;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", username='" + username + '\'' +
                ", auditSign='" + auditSign + '\'' +
                ", deptId='" + deptId + '\'' +
                ", deptName='" + deptName + '\'' +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", mobile='" + mobile + '\'' +
                ", gender=" + gender +
                ", avatar='" + avatar + '\'' +
                ", lockFlag=" + lockFlag +
                ", roleBelong=" + roleBelong +
                ", workTime='" + workTime + '\'' +
                ", duty='" + duty + '\'' +
                ", dutySign='" + dutySign + '\'' +
                ", mobileCode='" + mobileCode + '\'' +
                ", psd='" + psd + '\'' +
                ", hasScore=" + hasScore +
                ", score=" + score +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAuditSign() {
        return auditSign;
    }

    public void setAuditSign(String auditSign) {
        this.auditSign = auditSign;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Integer getLockFlag() {
        return lockFlag;
    }

    public void setLockFlag(Integer lockFlag) {
        this.lockFlag = lockFlag;
    }

    public Integer getRoleBelong() {
        return roleBelong;
    }

    public void setRoleBelong(Integer roleBelong) {
        this.roleBelong = roleBelong;
    }

    public String getWorkTime() {
        return workTime;
    }

    public void setWorkTime(String workTime) {
        this.workTime = workTime;
    }

    public String getDuty() {
        return duty;
    }

    public void setDuty(String duty) {
        this.duty = duty;
    }

    public String getDutySign() {
        return dutySign;
    }

    public void setDutySign(String dutySign) {
        this.dutySign = dutySign;
    }

    public String getMobileCode() {
        return mobileCode;
    }

    public void setMobileCode(String mobileCode) {
        this.mobileCode = mobileCode;
    }

    public String getPsd() {
        return psd;
    }

    public void setPsd(String psd) {
        this.psd = psd;
    }

    public Integer getHasScore() {
        return hasScore;
    }

    public void setHasScore(Integer hasScore) {
        this.hasScore = hasScore;
    }

    public BigDecimal getScore() {
        return score;
    }

    public void setScore(BigDecimal score) {
        this.score = score;
    }
}
